package com.spc.car.data.domain.htgg.xml;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.spc.car.data.domain.htgg.xml.node.ContractAttach;

import java.util.List;

/**
 * 合同公告XML数据对象
 * 数据发布附件列表
 * @author ACP
 */
@JacksonXmlRootElement(localName = "CONTRACT_ATTACH_LIST")
public class ContractAttachList {

    List<ContractAttach> attachs;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "CONTRACT_ATTACH")
    public List<ContractAttach> getAttachs() {
        return attachs;
    }

    public void setAttachs(List<ContractAttach> attachs) {
        this.attachs = attachs;
    }
}
